package admin.auth.feishu.feign;

import admin.auth.feishu.model.req.AppAuth;
import admin.auth.feishu.model.req.CodeAuth;
import admin.common.domain.rsp.*;
import org.springframework.stereotype.Component;

/**
 * @author zgb
 * @date 2024-02-28 17:34
 * @description TODO
 */
@Component
public class FeishuFeignClientFallback implements FeishuFeignClient {
    @Override
    public R tenantAccessToken(AppAuth appAuth) {
        return R.feiginError();
    }

    @Override
    public R appAccessToken(AppAuth appAuth) {
        return R.feiginError();
    }

    @Override
    public R<UserAccessTokenRsp> userAccessToken(CodeAuth codeAuth, String authorization) {
        return R.feiginError();
    }

    @Override
    public R<UserInfoRsp> userInfo() {
        return R.feiginError();
    }

    @Override
    public R<UsersRsp> users(String userId, String departmentIdType, String userIdType, String authorization) {
        return R.feiginError();
    }

    @Override
    public R<EmployeesRsp> employees(int[] status, String view, String pageToken, Integer pageSize, String authorization) {
        return R.feiginError();
    }



}
